package com.jy.wms.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 上架任务
 * Created by syh on 2018/8/7.
 */
@Controller
@RequestMapping("/shelvesRouter")
public class WmsSjRwRouter {
    /**
     * 调分页查询
     * @return
     */
    @RequestMapping(value = "getShelvesList")
    public String getShelvesList(){
        return  "wmsshelves/shelvesList";
    }

    /**
     * 跳生成
     * @param yqdhbdid
     * @param model
     * @return
     */
    @RequestMapping(value = "toAddShelvesRw")
    public String toAddShelvesRw(String yqdhbdid,Model model){
        model.addAttribute("yqdhbdid",yqdhbdid);
        return  "wmsshelves/addShelvesRw";
    }

    /**
     * 跳查看明细
     * @param yqdhbdid
     * @param model
     * @return
     */
    @RequestMapping(value = "toChakanMx")
    public String toChakanMx(String yqdhbdid,Model model){
        model.addAttribute("yqdhbdid",yqdhbdid);
        return  "wmsshelves/shelvesMx";
    }

    /**
     * 跳详情
     * @param yqdhbdid
     * @param model
     * @return
     */
    @RequestMapping(value = "getFindQqxq")
    public String getFindQqxq(String yqdhbdid,Model model){
        model.addAttribute("yqdhbdid",yqdhbdid);
        return  "wmsshelves/shelvesQqXiangxi";
    }
}